/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package rainful;

import java.util.List;

/**
 *
 * @author Rovers
 */
public interface DataAction {

    public <T> List<T> select(Class<T> c);

    public <T> List<T> select(Class<T> c, String filter, String ordering);

    public void persist(Object data);

    public <T> void persistAll(List<T> datalist);

    public <T> T selectSingle(Class<T> c, Long id);
}
